package com.cloudfun.campusshare.service;

import com.cloudfun.campusshare.device.protocol.command.Frame;
import com.cloudfun.campusshare.device.protocol.command.PumpFrame;

/**
 * Created by Huqin on 2020/2/10
 */
public interface ResponseMessageService {

    /**
     * 创建
     *
     * @param messageId
     * @param deviceType
     * @param imei
     * @param frame
     * @return true创建成功，否则失败
     */
    boolean create(String messageId, String deviceType, String imei, Frame frame);

    boolean create(String messageId, String deviceType, String imei, PumpFrame frame);
}
